﻿using System;
using System.Collections.Generic;
using System.Text;
using System.ComponentModel.DataAnnotations;
using Dapper_Core.Basic;

namespace Dapper_Core.Table
{
    public class Sys_TableRelation : BaseModel
    {
        /// <summary>
        /// 主键
        /// </summary>
        [Key]
        public int Id { get; set; }
        public string FromTable { get; set; }
        public string FromProperty { get; set; }
        public string FromDetailProperty { get; set; }
        public string ToTable { get; set; }
        public string ToProperty { get; set; }
        public string RelationType { get; set; }
    }
}
